package predicate;

import java.util.HashMap;

public class Instructor {
	
	 /** 
	  * Variable.
	  */
	private String instructorName;
	private HashMap<String, Lecture> listLecture;
	
	 /** 
	  * Class constructor.
	  */
	public Instructor()
	{
		instructorName = "unknow";
		listLecture = new HashMap<String, Lecture>();
	}
	
	/**
	 * Class constructor
	 * @param _instructorName a <code>String</code>
	 */
	public Instructor( String _instructorName )
	{
		instructorName = _instructorName;
		listLecture = new HashMap<String, Lecture>();
	}
	
	/**
	 * Assessor
	 * @return instructorName
	 */
	public String getName()
	{
		return instructorName;
	}
	
	/**
	 * Mutator
	 * @param _instructorName a <code>String</code>
	 */
	public void setName( String _instructorName)
	{
		instructorName = _instructorName;
	}
	
	public void addLecture(String key, Lecture lecture) {
		listLecture.put(key, lecture);
	}
	
	public HashMap<String, Lecture> getListLecture()
	{
		return listLecture;
	}
}